import { IDispose } from "../../../../../com/gengine/core/IDispose";
import { ObjectPool } from "../../../../../com/gengine/utils/pools/ObjectPool";
//class ChatCellData
    
    export  class ChatCellData implements IDispose
    {
        

        public init(arg1: string=null, arg2: string=""): void
        {
            this._type = arg1;
            this._text = arg2;
            return;
        }

        public get elementFormat(): Object /* flash.text.engine.ElementFormat */
        {
            return this._elementFormat;
        }

        public set elementFormat(arg1: Object /* flash.text.engine.ElementFormat */)
        {
            this._elementFormat = arg1;
            return;
        }

        public get data(): Object
        {
            return this._data;
        }

        public set data(arg1: Object)
        {
            this._data = arg1;
            return;
        }

        public get type(): string
        {
            return this._type;
        }

        public set type(arg1: string)
        {
            this._type = arg1;
            return;
        }

        public get text(): string
        {
            return this._text;
        }

        public set text(arg1: string)
        {
            this._text = arg1;
            return;
        }

        public get className(): string
        {
            return this._clsName;
        }

        public set className(arg1: string)
        {
            this._clsName = arg1;
            return;
        }

        public get linkUrl(): string
        {
            return this._linkUrl;
        }

        public set linkUrl(arg1: string)
        {
            this._linkUrl = arg1;
            return;
        }

        public get uid(): string
        {
            return this._uid;
        }

        public set uid(arg1: string)
        {
            this._uid = arg1;
            return;
        }

        public dispose(arg1: Boolean=true): void
        {
            this._type = null;
            this._text = "";
            this._clsName = null;
            this._linkUrl = null;
            this._uid = null;
            this._data = null;
            this._elementFormat = null;
            ObjectPool.disposeObject(this);
            return;
        }

        /* internal */ /* var */_type: string;

        /* internal */ /* var */_text: string;

        /* internal */ /* var */_clsName: string;

        /* internal */ /* var */_linkUrl: string;

        /* internal */ /* var */_uid: string;

        /* internal */ /* var */_data: Object;

        /* internal */ /* var */_elementFormat: Object /* flash.text.engine.ElementFormat */;
    }
